﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Xml;

namespace EAISimulatedWebService
{
    /// <summary>
    /// Summary description for LAService
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class LAService : System.Web.Services.WebService
    {

        [WebMethod]
        public XmlDocument inquiryInsPolHistservice(XmlDocument sourceXml)
        {
            var xmldoc = new XmlDocument();
            xmldoc.LoadXml("<in0Return><MOREIND>MOREIND_0</MOREIND><STATUS>STATUS_0</STATUS><AURATX><Policy><OwnerInfo><ZDOTELCLN>8</ZDOTELCLN><ZDMOBFLG>16</ZDMOBFLG><ZALNDBND>ZALNDBND_0</ZALNDBND><TOANNL01>TOANNL01_0</TOANNL01><ZDTVULPRM01>ZDTVULPRM01_0</ZDTVULPRM01><OWNRISKSILIST><ZNRSKCD>ZNRSKCD_0</ZNRSKCD><SUMINS>SUMINS_0</SUMINS><ZNRSKCD>ZNRSKCD_0</ZNRSKCD><SUMINS>SUMINS_0</SUMINS><ZNRSKCD>ZNRSKCD_0</ZNRSKCD><SUMINS>SUMINS_0</SUMINS></OWNRISKSILIST><OWNCOVList><ZNPRDCODE02>ZNPRDCODE02_0</ZNPRDCODE02><ZTOTPRM01>ZTOTPRM01_0</ZTOTPRM01><SUMIN01>SUMIN01_0</SUMIN01><ZNPRDCODE02>ZNPRDCODE02_0</ZNPRDCODE02><ZTOTPRM01>ZTOTPRM01_0</ZTOTPRM01><SUMIN01>SUMIN01_0</SUMIN01><ZNPRDCODE02>ZNPRDCODE02_0</ZNPRDCODE02><ZTOTPRM01>ZTOTPRM01_0</ZTOTPRM01><SUMIN01>SUMIN01_0</SUMIN01></OWNCOVList><OwnerPolicyHistory><OwnerPolicy><ZACLMFLG01>ZACLMFLG01_0</ZACLMFLG01><ZAEXPRMFLG01>ZAEXPRMFLG01_0</ZAEXPRMFLG01><ZAWTHDRW01>ZAWTHDRW01_0</ZAWTHDRW01><ZADCLFLG01>ZADCLFLG01_0</ZADCLFLG01><ZAPSTPON01>ZAPSTPON01_0</ZAPSTPON01><ZASPCNTE01>ZASPCNTE01_0</ZASPCNTE01><ZASUBSTD01>ZASUBSTD01_0</ZASUBSTD01><ZAANSPOS01>ZAANSPOS01_0</ZAANSPOS01><ZABAKFLD01>ZABAKFLD01_0</ZABAKFLD01></OwnerPolicy></OwnerPolicyHistory><OwnerBlackList><ZAORELLST>ZAORELLST_0</ZAORELLST><ZAOPLTIC>ZAOPLTIC_0</ZAOPLTIC><ZAOTERRLST>ZAOTERRLST_0</ZAOTERRLST><ZAOGRYLST>ZAOGRYLST_0</ZAOGRYLST></OwnerBlackList></OwnerInfo><InsuredList><Insured><ZDITELCLN>7</ZDITELCLN><ZDMOBFLG02>14</ZDMOBFLG02><ZALNDBND02>ZALNDBND02_0</ZALNDBND02><TOANNL02>TOANNL02_0</TOANNL02><ZDTVULPRM02>ZDTVULPRM02_0</ZDTVULPRM02><INSRISKSILIST><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02></INSRISKSILIST><INSCOVList><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02></INSCOVList><INSPOLHSTRY><InsuredPolicy><ZACLMFLG02>ZACLMFLG02_0</ZACLMFLG02><ZAEXPRMFLG02>ZAEXPRMFLG02_0</ZAEXPRMFLG02><ZAWTHDRW02>ZAWTHDRW02_0</ZAWTHDRW02><ZADCLFLG02>ZADCLFLG02_0</ZADCLFLG02><ZAPSTPON02>ZAPSTPON02_0</ZAPSTPON02><ZASUBSTD02>ZASUBSTD02_0</ZASUBSTD02><ZASPCNTE02>ZASPCNTE02_0</ZASPCNTE02><ZAANSPOS02>ZAANSPOS02_0</ZAANSPOS02><ZAPOSUW>ZAPOSUW_0</ZAPOSUW><ZACLMUW>ZACLMUW_0</ZACLMUW><ZABAKFLD02>ZABAKFLD02_0</ZABAKFLD02></InsuredPolicy></INSPOLHSTRY><InsuredBlackList><ZAIRELLST>ZAIRELLST_0</ZAIRELLST><ZAIPLTIC>ZAIPLTIC_0</ZAIPLTIC><ZAITERRLST>ZAITERRLST_0</ZAITERRLST><ZAIGRYLST>ZAIGRYLST_0</ZAIGRYLST></InsuredBlackList></Insured><Insured><ZDITELCLN>6</ZDITELCLN><ZDMOBFLG02>12</ZDMOBFLG02><ZALNDBND02>ZALNDBND02_0</ZALNDBND02><TOANNL02>TOANNL02_0</TOANNL02><ZDTVULPRM02>ZDTVULPRM02_0</ZDTVULPRM02><INSRISKSILIST><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02></INSRISKSILIST><INSCOVList><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02></INSCOVList><INSPOLHSTRY><InsuredPolicy><ZACLMFLG02>ZACLMFLG02_0</ZACLMFLG02><ZAEXPRMFLG02>ZAEXPRMFLG02_0</ZAEXPRMFLG02><ZAWTHDRW02>ZAWTHDRW02_0</ZAWTHDRW02><ZADCLFLG02>ZADCLFLG02_0</ZADCLFLG02><ZAPSTPON02>ZAPSTPON02_0</ZAPSTPON02><ZASUBSTD02>ZASUBSTD02_0</ZASUBSTD02><ZASPCNTE02>ZASPCNTE02_0</ZASPCNTE02><ZAANSPOS02>ZAANSPOS02_0</ZAANSPOS02><ZAPOSUW>ZAPOSUW_0</ZAPOSUW><ZACLMUW>ZACLMUW_0</ZACLMUW><ZABAKFLD02>ZABAKFLD02_0</ZABAKFLD02></InsuredPolicy></INSPOLHSTRY><InsuredBlackList><ZAIRELLST>ZAIRELLST_0</ZAIRELLST><ZAIPLTIC>ZAIPLTIC_0</ZAIPLTIC><ZAITERRLST>ZAITERRLST_0</ZAITERRLST><ZAIGRYLST>ZAIGRYLST_0</ZAIGRYLST></InsuredBlackList></Insured><Insured><ZDITELCLN>5</ZDITELCLN><ZDMOBFLG02>10</ZDMOBFLG02><ZALNDBND02>ZALNDBND02_0</ZALNDBND02><TOANNL02>TOANNL02_0</TOANNL02><ZDTVULPRM02>ZDTVULPRM02_0</ZDTVULPRM02><INSRISKSILIST><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02><ZNRSKCD02>ZNRSKCD02_0</ZNRSKCD02><SUMINS02>SUMINS02_0</SUMINS02></INSRISKSILIST><INSCOVList><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02><ZNPRDCODE04>ZNPRDCODE04_0</ZNPRDCODE04><ZTOTPRM02>ZTOTPRM02_0</ZTOTPRM02><SUMIN02>SUMIN02_0</SUMIN02></INSCOVList><INSPOLHSTRY><InsuredPolicy><ZACLMFLG02>ZACLMFLG02_0</ZACLMFLG02><ZAEXPRMFLG02>ZAEXPRMFLG02_0</ZAEXPRMFLG02><ZAWTHDRW02>ZAWTHDRW02_0</ZAWTHDRW02><ZADCLFLG02>ZADCLFLG02_0</ZADCLFLG02><ZAPSTPON02>ZAPSTPON02_0</ZAPSTPON02><ZASUBSTD02>ZASUBSTD02_0</ZASUBSTD02><ZASPCNTE02>ZASPCNTE02_0</ZASPCNTE02><ZAANSPOS02>ZAANSPOS02_0</ZAANSPOS02><ZAPOSUW>ZAPOSUW_0</ZAPOSUW><ZACLMUW>ZACLMUW_0</ZACLMUW><ZABAKFLD02>ZABAKFLD02_0</ZABAKFLD02></InsuredPolicy></INSPOLHSTRY><InsuredBlackList><ZAIRELLST>ZAIRELLST_0</ZAIRELLST><ZAIPLTIC>ZAIPLTIC_0</ZAIPLTIC><ZAITERRLST>ZAITERRLST_0</ZAITERRLST><ZAIGRYLST>ZAIGRYLST_0</ZAIGRYLST></InsuredBlackList></Insured></InsuredList><BeneficiaryList><BeneBlackList><BNYSEL>BNYSEL_0</BNYSEL><ZABRELLST>ZABRELLST_0</ZABRELLST><ZABPLTIC>ZABPLTIC_0</ZABPLTIC><ZABTERRLST>ZABTERRLST_0</ZABTERRLST><ZABGRYLST>ZABGRYLST_0</ZABGRYLST></BeneBlackList></BeneficiaryList><AgentInfo><ZNAGNTSEL>ZNAGNTSEL_0</ZNAGNTSEL><ZNAGTQF>ZNAGTQF_0</ZNAGTQF><ZAAGTEXT>ZAAGTEXT_0</ZAAGTEXT><ZABCHCNST>ZABCHCNST_0</ZABCHCNST><ZATELSAM>ZATELSAM_0</ZATELSAM><ZNCSMSTAT>ZNCSMSTAT_0</ZNCSMSTAT><ZNCSMQF>ZNCSMQF_0</ZNCSMQF><ZNSALQF>ZNSALQF_0</ZNSALQF><ZNAGCYSTAT>ZNAGCYSTAT_0</ZNAGCYSTAT><ZNAGTSTAT>ZNAGTSTAT_0</ZNAGTSTAT><ZACITIFLG>ZACITIFLG_0</ZACITIFLG><ZNELTFLG>ZNELTFLG_0</ZNELTFLG></AgentInfo><CurrentPolicy><ZAOSFLWUP>ZAOSFLWUP_0</ZAOSFLWUP><CURINSD><Life>Life_0</Life><CoverageList><Coverage>Coverage_0</Coverage><RIDER>RIDER_0</RIDER><ZNPRDCODE05>ZNPRDCODE05_0</ZNPRDCODE05><ZAEXCDUR>ZAEXCDUR_0</ZAEXCDUR><ZAAPPDOUT>ZAAPPDOUT_0</ZAAPPDOUT><Coverage>Coverage_0</Coverage><RIDER>RIDER_0</RIDER><ZNPRDCODE05>ZNPRDCODE05_0</ZNPRDCODE05><ZAEXCDUR>ZAEXCDUR_0</ZAEXCDUR><ZAAPPDOUT>ZAAPPDOUT_0</ZAAPPDOUT><Coverage>Coverage_0</Coverage><RIDER>RIDER_0</RIDER><ZNPRDCODE05>ZNPRDCODE05_0</ZNPRDCODE05><ZAEXCDUR>ZAEXCDUR_0</ZAEXCDUR><ZAAPPDOUT>ZAAPPDOUT_0</ZAAPPDOUT></CoverageList></CURINSD></CurrentPolicy><ZABAKFLD03>ZABAKFLD03_0</ZABAKFLD03><ZABAKFLD04>ZABAKFLD04_0</ZABAKFLD04><ZABAKFLD05>ZABAKFLD05_0</ZABAKFLD05><ZABAKFLD06>ZABAKFLD06_0</ZABAKFLD06><ZABAKFLD07>ZABAKFLD07_0</ZABAKFLD07></Policy><ERRCODE>ERRCODE_0</ERRCODE><PDESC>PDESC_0</PDESC></AURATX></in0Return>");
            return xmldoc;
        }
    }
}
